package com.boot.web.enums;

/**
 * 业务枚举
 * @author 【zhouJie】
 */
public enum AllEnums {

    user_enable(0, "启用用户"),
    user_disable(1, "禁用用户"),

    role_default(1, "默认角色"),
    role_not_default(0, "自定义角色");

    private int state;

    private String info;

    AllEnums(int state, String info) {
        this.state = state;
        this.info = info;
    }

    public int getState() {
        return state;
    }

    public String getInfo() {
        return info;
    }

}
